package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * @author zhuliang
 * @version V1.0
 * @Description: 合同管理——审批记录
 * @date 2020-11-16 17：51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "合同管理——审批记录")
public class CcmsSmartleasingAuditRecods implements Serializable {

    @ApiModelProperty(value = "uuid主键")
    @TableId(value = "pk_audit_recods_id")
    private String pkAuditRecodsId;

    @ApiModelProperty(value = "合同id外键")
    private String fkContractId;

    @ApiModelProperty(value = "审核人")
    private Integer reviewer;

    @ApiModelProperty(value = "审核时间")
    private Date auditTime;

    @ApiModelProperty(value = "审核意见 1.审核不通过，2.审核通过")
    private Byte auditOpinion;

    @ApiModelProperty(value = "原因说明")
    private String causeDescription;

    @ApiModelProperty(value = "审核人名称")
    private String reviewerName;




    @ApiModelProperty(value = "变更人")
    @TableField(exist = false)
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "合同开始时间")
    @TableField(exist = false)
    private Date contractStartTime;

    @ApiModelProperty(value = "房间外键id")
    @TableField(exist = false)
    private String fkRoomId;


    private static final long serialVersionUID = 1L;
}
